<?php
	require('connect.php');
	$del1 = $mysqli->query("delete from giaovien where MA_GV = '{$_REQUEST['magv']}'")
	or die($mysqli->error);
	$del2 = $mysqli->query("delete from day where MA_GV = '{$_REQUEST['magv']}'")
	or die($mysqli->error);
	if ($del1 && $del2)
		echo "<meta http-equiv='refresh' content='0;index.php?cn=ql_giao_vien&id=ds_gv'>";
?>